import java.util.Arrays;

public abstract class Father {
    private int number ;

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    abstract public void generate();




    @Override
    public String toString() {
        if (number == 0) {
            return "石头";
        } else if (number == 1) {
            return "剪刀";
        } else  {
            return "布";
        }
    }
}